package com.hzjq.core.checker

class AlongCmdChecker : OnErrorStateCheckCallback {

    override fun check(msg: String): Int {
        if(msg.length > 26){
            return 0
        }
        if(msg.length > 24){
            return Integer.parseInt(msg.substring(22,24),16)
        }
        return 0
    }
}